package com.example.order.service;

import com.example.order.mapper.UserInfoMapper;
import com.example.order.model.OrderInfo;
import com.example.order.model.UserInfo;
import com.example.order.tools.ResponseBody;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class UserInfoService {
    @Resource
    private UserInfoMapper userInfoMapper;

    public int reg(UserInfo userInfo){
        return userInfoMapper.reg(userInfo);
    }

    public UserInfo login(UserInfo userInfo){
        return userInfoMapper.login(userInfo);
    }

}
